
using GoodDotNet.Core.Entity;
using GoodDotNet.Data.Models;
using GoodDotNet.Core.Entity;
using GoodDotNet.Core.Model;
using GoodDotNet.Core.Model.Params;
using Microsoft.AspNetCore.Http;

namespace GoodDotNet.IService
{
    public interface AdminUserIService
    {

        public Result Add(ParInsertAdminUserModel pars, HttpContext context, string token);



        public Result? Login(LoginParams pars, string token);

        public AdminUser? GetOne(int id);

        public object GetPage(ParGetpageAdminUserModel pars);


        public void Update(ParUpdateAdminUserModel pars);

        public DataGetoneAdminUserModel? info(int id);

        public Result EditPwd(ParUpdateEditPwdAdminuserModel pars, int uid, string token);

    }
}